package com.oig.sys.base.app;

import com.oig.common.module.SysPageInfo;
import com.oig.common.module.SysRequest;
import com.oig.sys.base.dto.HsGoodsDto;
import com.oig.sys.base.vo.HsGoodsVo;

import java.util.List;

public interface IAppHsGoodsService {

    void startSpider(String hsCode);

    void startSpider(List<String> hsCodes);

    HsGoodsVo addHsGoods(HsGoodsDto hsGoodsDto);

    HsGoodsVo updateHsGoods(HsGoodsDto hsGoodsDto);

    void cancelHsGoods(String hsCode);

    HsGoodsVo getHsGoods(String hsCode);

    SysPageInfo<HsGoodsVo> listHsGoods(SysRequest<HsGoodsDto> hsGoodsDtoSysRequest);

    String getName(String hsCode);

    List<HsGoodsVo> listInfoByHsCode(List<String> hsCodes);
}
